ef78e47fcb2a6e8a8bf7f8f375fcbd0e85634dba,src/test/java/com/xebialabs/overthere/itest/ItestsBase3Copy.java,ItestsBase3Copy,shouldCopyLocalFileToExistentRemoteFileWithDifferentName,#,90

Before Change



    @Test
    public void shouldCopyLocalFileToExistentRemoteFileWithDifferentName() {
        OverthereFile srcFile = getLocalSourceFile();
        OverthereFile dstFile = getRemoteDestinationFileWithDifferentName();

        populateSourceFile(srcFile);
        populateExistentDestinationFile(dstFile);

        srcFile.copyTo(dstFile);

        assertSourceFileWasCopiedToDestinationFile(dstFile);
    }

After Change



    @Test
    public void shouldCopyLocalFileToExistentRemoteFileWithDifferentName() {
        shouldCopyToExistentFile(getLocalSourceFile(), getRemoteDestinationFileWithDifferentName());
    }